package common.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * 类别类型
 *
 * @author 米泽鹏
 * @since 2022-3-24 下午 7:55
 */
@Getter
public enum ClassificationTypeEnum {

	ITEM(1, "物品"),

	BUILDING(2, "建筑"),

	CREATURE(3, "生物"),

	PRODUCT(4, "商品"),

	BLUEPRINT(5, "蓝图");

	/**
	 * 字段的值
	 */
	@EnumValue
	private final Integer value;

	/**
	 * 字段的描述
	 */
	private final String desc;

	ClassificationTypeEnum(Integer value, String desc) {
		this.value = value;
		this.desc = desc;
	}

}
